Skip to content

Conversation

@QuantumMisaka
Copy link
Collaborator

@QuantumMisaka QuantumMisaka commented May 5, 2025

Reminder

  • Have you linked an issue with this pull request?
  • Have you added adequate unit tests and/or case tests for your pull request?
  • Have you noticed possible changes of behavior below or in the linked issue?
  • Have you explained the changes of codes in core modules of ESolver, HSolver, ElecState, Hamilt, Operator or Psi? (ignore if not applicable)

Linked Issue

What's changed?

  • Update version:
    • OpenBLAS: 0.3.28 -> 0.3.29
    • ScaLAPACK: 2.2.1 -> 2.2.2
    • cereal: master
    • LibComm: master
    • rapidjson: master
  • Update downloading url:
    • OpenBLAS: from github
    • ScaLAPACK: from github
    • FFTW: from official website
  • All downloading from github is going through codeload method (contributor: @kluophysics in Refactor: toolchain fixes for Intel oneapi 2025 for #5518 #6173)
  • Update GCC version check
  • Remove intel-mpich handy scripts
  • Add aocc-aocl and gcc-aocl handy scripts as amd toolchain
  • disable static installation of elpa, fftw and scalapack
  • move install_requirements*.sh system requirements scripts into a optional directory
  • Other change
    • update the default version of Cereal in FindCereal.cmake: 1.3.0 -> 1.3.2
    • update README
    • update a cmake file generation for rapidjson in order to let it be properly found during ABACUS configure.

This modification should both support latest and LTS installation

@QuantumMisaka
Copy link
Collaborator Author

QuantumMisaka commented May 5, 2025

It seems that due to OpenMPI version update, #5982 can be fully fixed in the toolchain of this PR.

Compile and linking tests passed for gnu/oneapi/gcc-aocl/aocc-aocl toolchain for both LTS and latest ABACUS.

README will be update soon, and this toolchain update is recommended to be include in abacus-3.10-LTS package

@QuantumMisaka QuantumMisaka requested a review from Copilot May 5, 2025 08:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the toolchain documentation for the 2025-02 release by revising version numbers, updating dependency sources, and clarifying usage instructions for various toolchains.

  • Updated dependency versions (e.g., OpenBLAS, ScaLAPACK, Cereal, ELPA) and download URLs.
  • Revised and extended installation instructions for multiple toolchain options including new AMD toolchain scripts.
  • Minor textual corrections in notices and usage messages.
Files not reviewed (18)
  • cmake/FindCereal.cmake: Language not supported
  • toolchain/build_abacus_aocc-aocl.sh: Language not supported
  • toolchain/build_abacus_gnu-aocl.sh: Language not supported
  • toolchain/build_abacus_gnu.sh: Language not supported
  • toolchain/build_abacus_intel.sh: Language not supported
  • toolchain/install_abacus_toolchain.sh: Language not supported
  • toolchain/root_requirements/README: Language not supported
  • toolchain/root_requirements/install_requirements_fedora.sh: Language not supported
  • toolchain/root_requirements/install_requirements_ubuntu.sh: Language not supported
  • toolchain/scripts/VERSION: Language not supported
  • toolchain/scripts/get_openblas_arch.sh: Language not supported
  • toolchain/scripts/stage0/install_cmake.sh: Language not supported
  • toolchain/scripts/stage1/install_openmpi.sh: Language not supported
  • toolchain/scripts/stage2/install_openblas.sh: Language not supported
  • toolchain/scripts/stage3/install_elpa.sh: Language not supported
  • toolchain/scripts/stage3/install_fftw.sh: Language not supported
  • toolchain/scripts/stage3/install_scalapack.sh: Language not supported
  • toolchain/scripts/stage4/install_cereal.sh: Language not supported
Comments suppressed due to low confidence (1)

toolchain/README.md:151

  • The word 'encouter' should be corrected to 'encounter' for improved clarity.
*just re-run *toolchain_\*.sh*, toolchain itself may fix it. If you encouter some problem like file corrupted, you can always remove some package in the interrupted points and re-run the toolchain.*

@QuantumMisaka QuantumMisaka added the Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS label May 6, 2025
@mohanchen mohanchen merged commit 5d0949c into deepmodeling:develop May 8, 2025
14 checks passed
@QuantumMisaka QuantumMisaka deleted the toolchain-codeload branch October 20, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error while using AMD AOCC/AOCL to build ABACUS Bug: Build Fail while install with OneAPI 2025.0.0 and some add-on plugins in using toolchain

2 participants